<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		
		<div id="app">
			
		</div>
		
		
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
		
		<script type="text/javascript">
			//1、创建组件
			Vue.component("addNumberComponent",{
				//1.1、定义数据区data
				data: function(){
					//1.1.1、return中封装的键值对数据
					return{
						username:'zhangsan',
						age: 18
					}
				},
				template: "",
				methods: {}
			})
			
			
			const vue = new Vue({
				el: "#app",
				data: {},
				methods: {},
				mounted() {
					
				}
			})
		</script>
		
	</body>
</html>
